package org.springblade.modules.admin.vo.check;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author zcc
 * @version 1.0
 * @date 2023/12/1 10:47
 */
@Data
public class ProblemSearchVo {

	@ApiModelProperty(value = "1:保养质检，2:重复故障质检，3:维保移交质检4:安装移交质检5:常规质检")
	private Integer checkType;

	@ApiModelProperty("当前页")
	private Integer current;

	@ApiModelProperty("每页的数量")
	private Integer size;

	@ApiModelProperty("项目id")
	private Long buildingId;

	@ApiModelProperty("电梯id")
	private List<Long> elevatorIds;

	@ApiModelProperty("工单id")
	private Long planId;

	@ApiModelProperty("部件id")
	private Long partId;

	/**
	 * 问题原因-单选调整为多选
	 */
	private Integer faultReasonKey;

	private List<Long>  faultReasonKeys;

	/**
	 * 问题责任-单选调整为多选
	 */
	private Integer faultReasonWhoKey;
	private List<Long> faultReasonWhoKeys;

	/**
	 * 问题分类
	 */
	private Integer faultReasonClassifiedKey;

	/**
	 * 紧急程度
	 */
	private Integer emerProcType;

	@ApiModelProperty("问题描述")
	private String proDesc;

	@ApiModelProperty("处理状态1:已经创建工单，2：未创建工单")
	private Integer createStatus;

	@ApiModelProperty("整改结果2:待整改，3：整改中，4：整改完成,10:已关闭")
	private Integer planStatus;

	@ApiModelProperty("调度人")
	private Long userId;

	@ApiModelProperty("质检完成时间-开始时间")
	private Date beginTime;

	@ApiModelProperty("质检完成时间-结束时间")
	private Date endTime;

	@ApiModelProperty("1:获取总记录数，2查询记录")
	private Integer searchType = 2;

	private Integer typeStatus;

}
